﻿<?php echo'<?xml version="1.0" encoding="utf-8"?>' ?>

<chart caption='<?php echo $result["title"] ?>' subcaption='(test data)' lineThickness='1' showValues='0' formatNumberScale='0' anchorRadius='2'   divLineAlpha='20' divLineColor='CC3300' divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridAlpha='5' alternateHGridColor='CC3300' shadowAlpha='40' labelStep="2" numvdivlines='5' chartRightMargin="35" canvasBgColor='000000' legendBgColor='000000'  bgColor='000000' bgAngle='270' bgAlpha='100,100'>
<categories >
	<?php foreach($result[1] as $v){ ?>
	<category label='<?php echo $v ?>' />
	<?php } ?>
</categories>
<dataset seriesName='失败率' color='1D8BD1' anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1'>
	<?php foreach($result[11] as $v){ ?>
	<set value='<?php echo $v ?>' />
	<?php } ?>
	</dataset>

<dataset seriesName='低速比' color='F1683C' anchorBorderColor='F1683C' anchorBgColor='F1683C'>
    <?php foreach($result[12] as $v){ ?>
    <set value='<?php echo $v ?>' />
    <?php } ?>
</dataset>
	<styles>                
		<definition>
                         
			<style name='CaptionFont' type='font' size='12'/>
		</definition>
		<application>
			<apply toObject='CAPTION' styles='CaptionFont' />
			<apply toObject='SUBCAPTION' styles='CaptionFont' />
		</application>
	</styles>

</chart>
